package com.fenghongzhang.banner;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class SendActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_send);



    }

    public void send(View view) {

        Intent intent = new Intent();
        intent.setAction("com.feng");

        intent.putExtra("name","小明");

        sendBroadcast(intent);

    }
}
